import {StyleSheet} from 'react-native';
import px2dp from '../../utils/px2dp';

const styles = StyleSheet.create({
  calendar: {
    paddingBottom: px2dp(12),
    borderBottomWidth: px2dp(1),
    borderBottomColor: '#eee',
  },
  container: {
    flex: 1,
    paddingHorizontal: px2dp(31),
    paddingVertical: px2dp(20),
  },
  list: {
    flexDirection: 'row',
    marginVertical: px2dp(20),
  },
  video: {
    width: px2dp(203),
    height: px2dp(118),
    marginRight: px2dp(19),
  },
  cover: {
    width: px2dp(203),
    height: px2dp(118),
    backgroundColor: '#eee',
  },
  icon: {
    width: px2dp(32),
    height: px2dp(32),
    position: 'absolute',
    left: '50%',
    top: '50%',
    marginLeft: px2dp(-16),
    marginTop: px2dp(-16),
  },
  info: {
    flex: 1,
    justifyContent: 'space-between',
    paddingVertical: px2dp(10),
  },
  title: {
    fontSize: px2dp(26),
    color: '#333',
    fontWeight: 'bold',
  },
  teacher: {
    fontSize: px2dp(18),
    color: '#666',
    fontWeight: 'bold',
  },
  time: {
    fontSize: px2dp(18),
    color: '#333',
  },
});

export default styles;
